package cn.deschen.eshop.auth.validate.image;

import cn.deschen.eshop.auth.validate.ValidateCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.awt.image.BufferedImage;

/**
 * @Author hanbin_chen
 * @Description 图片验证码实体类
 * @DateTime 2021/1/14 15:15
 * @Version V1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ImageValidateCode extends ValidateCode {

    private BufferedImage image;

    public ImageValidateCode(String code, BufferedImage image) {
        super(code);
        this.image = image;
    }


}
